﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="HealthWorkPart.ascx.cs" Inherits="App_System_HealthWorkPart" %>
<%@ Import Namespace="Shpm.App.Input.Bean" %>
<%@ Import Namespace="Shpm.App.Commons.Utils" %>
<%@ Register TagPrefix="shpm" TagName="SystemMenu" Src="~/System/Tag/SystemMenuTag.ascx" %>
<%@ Import Namespace="Shpm.App.Main.Bean" %>
<%@ Import Namespace="Com.CodeProject.Pop3" %>
<%@ Import Namespace="System.Web" %>
<script type="text/jscript">
function popupMemberSearch(memberNo)
{
  var MemberNo1=memberNo
window.open('../Input/HealthMemberHealthForm.aspx?MEMBER_NO='+MemberNo1,'HealthMemberHealthForm','height=530,width=700,status=yes,toolbar=no,menubar=no,location=no,scrollbars=yes');
}
</script>
<div>
<table width="100%" border="0">
        <tr>
            <td width="100%" valign="top">
                <table class="table_border_line" border="0" width="70%">
                    <tr>
                        <td align="left" colspan="7">
                            <table border="0" width="100%" cellpadding="0" cellspacing="0">
                                <tr>
                                <td>
                                    <script language="javascript">
                                        (new TitleBar('SearchBar4', '会员动态')).showBar();
                                    </script>
                                </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td >
                        <asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound">
                            <HeaderTemplate>
                                    <tr>
                                        <td align="center" style="background-color:#ffffff"  style="width:30%">会员编号</td>
                                        <td align="center" style="background-color:#ffffff"  style="width:30%">会员姓名</td>
                                        <td align="center" style="background-color:#ffffff"  style="width:20%">房间编号</td>
                                        <td align="center" style="width: 130px;background-color:#ffffff"  style="width:10%">生活模型</td>
                                        <td align="center" style="width: 130px;background-color:#ffffff"  style="width:10%">会员健康情况</td>

                                    </tr>
                            </HeaderTemplate>

                            <ItemTemplate>
                                    <tr>
                                        <td style="background-color:#ffffff" align="center"><a href="#" onclick="openPersonDetails('<%# ((HealthAssignBean)Container.DataItem).MemberNo%>')"><%# ((HealthAssignBean)Container.DataItem).MemberNo%></a></td>
                                        <td style="background-color:#ffffff" align="center"><%# ((HealthAssignBean)Container.DataItem).Name%></td>
                                        <td style="background-color:#ffffff" align="center"><%# ((HealthAssignBean)Container.DataItem).ApartmentNo%></td>
                                       
                                        <td style="width: 130px;background-color:#ffffff" align="center">
                                        <asp:ImageButton ID="Step0" runat="server" CausesValidation="False" CommandName="Step0"
                                        ImageUrl="~/images/info.gif" OnCommand="LinkButton_Command" CommandArgument="<%# ((HealthAssignBean)Container.DataItem).MemberNo%>"  Enabled = "true" />
                                        </td>
                                        <td  style="width: 130px;background-color:#ffffff" align="center">
                                        <a href="#" onclick="javascript:popupMemberSearch('<%# ((HealthAssignBean)Container.DataItem).MemberNo%>');">
                                        <img id="searchImg" runat="server" src="~/images/in.gif" border="0" />
                                        </a>
                                        </td>
                                    </tr>
                            </ItemTemplate>

                            <FooterTemplate>
                                    <tr>
                                        <td colspan="4" align="right">
                                  
                                          
                                          </td>
                                    </tr>
                            </FooterTemplate>
                        </asp:Repeater>
                        
                        <asp:Repeater ID="Repeater2" runat="server" OnItemDataBound="Repeater1_ItemDataBound">
                            <HeaderTemplate>
                                    <tr >
                                        <td align="center" style="background-color:#ffffff" style="width:30%">会员编号</td>
                                        <td align="center" style="background-color:#ffffff" style="width:30%">会员姓名</td>
                                        <td align="center" style="background-color:#ffffff" style="width:20%">房间编号</td>
                                        <td align="center" style="width: 130px;background-color:#ffffff" style="width:10%">生活模型</td>
                                        <td align="center" style="width: 130px;background-color:#ffffff" style="width:10%">会员健康情况</td>

                                    </tr>
                            </HeaderTemplate>

                            <ItemTemplate>
                                    <tr>
                                        <td style="background-color:#ffffff" align="center"><a href="#" onclick="openPersonDetails('<%# ((HappyChamberlaineBean)Container.DataItem).MemberNo%>')"><%# ((HappyChamberlaineBean)Container.DataItem).MemberNo%></a></td>
                                        <td style="background-color:#ffffff" align="left"><%# ((HappyChamberlaineBean)Container.DataItem).Name%></td>
                                        <td style="background-color:#ffffff" align="center"><%# ((HappyChamberlaineBean)Container.DataItem).ApartmentNo%></td>
                                       
                                        <td  style="width: 130px;background-color:#ffffff" align="center">
                                        <asp:ImageButton ID="Step0" runat="server" CausesValidation="False" CommandName="Step0"
                                        ImageUrl="~/images/info.gif" OnCommand="LinkButton_Command" CommandArgument="<%# ((HappyChamberlaineBean)Container.DataItem).MemberNo%>"  Enabled = "true" />
                                        </td>
                                        <td  style="width: 130px; background-color:#ffffff" align="center" >
                                        
                                        
                                        <a href="#" onclick="javascript:popupMemberSearch('<%# ((HappyChamberlaineBean)Container.DataItem).MemberNo%>');">
                                        <img id="searchImg" runat="server" src="~/images/in.gif" border="0" />
                                        </a>
                                        
                                        
                                        
                                        
                                        </td>
                                    </tr>
                            </ItemTemplate>

                            <FooterTemplate>
                                    <tr>
                                        <td colspan="4" align="right">
                                  
                                          
                                          </td>
                                    </tr>
                            </FooterTemplate>
                        </asp:Repeater>
                         </td>
                    </tr>
                </table>                
            </td>
        </tr>
   
        <tr>
            <td align="right" style="padding-right: 16px; border-top:0px; border-bottom:1px; border-left:0px;border-right:1px; border-style:solid; border-color:#077485">
                        <asp:LinkButton ID="LinkButton3" runat="server" Text="更多..." PostBackUrl="~/App/Input/MemberHaveForm.aspx" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            </td>
        </tr>
    </table>
</div>